
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>三次握手🤝,四次挥手👋得这么讲 · Dragon GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Bruse-Lee">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="RemoveRestrictions.html" />
    
    
    <link rel="prev" href="lock.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://tinytalking.blackdragonlee.com/login" target="_blank" class="custom-link">MyTinyTalk</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">简介</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">My Life👓</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="Family.html">
            
                <a href="Family.html">
            
                    
                    👦🏼全家福
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="ListBook.html">
            
                <a href="ListBook.html">
            
                    
                    百科全书📕
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="Basketball.html">
            
                <a href="Basketball.html">
            
                    
                    篮球🤾🏾‍♂️所带给我的一切
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="secret.html">
            
                <a href="secret.html">
            
                    
                    与老友🧙🏼‍♂️彻夜长谈的秘密
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">My Technical Summary🧰</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="book.html">
            
                <a href="book.html">
            
                    
                    Gitbook的那些事🌟
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="FileOnline.html">
            
                <a href="FileOnline.html">
            
                    
                    💥项目上线的那些事
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="lock.html">
            
                <a href="lock.html">
            
                    
                    🤔悲观锁和😀乐观锁
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="3.4" data-path="ShareHand.html">
            
                <a href="ShareHand.html">
            
                    
                    三次握手🤝,四次挥手👋得这么讲
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="RemoveRestrictions.html">
            
                <a href="RemoveRestrictions.html">
            
                    
                    解除网盘下载速度限制🚀
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="Bilibili.html">
            
                <a href="Bilibili.html">
            
                    
                    📺小破站的爱恨情仇
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">My Technical Document⏳</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="CSharp/">
            
                <a href="CSharp/">
            
                    
                    C#设计模式
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1.1" data-path="CSharp/Singleton.html">
            
                <a href="CSharp/Singleton.html">
            
                    
                    第一节-单例模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.2" data-path="CSharp/Factory.html">
            
                <a href="CSharp/Factory.html">
            
                    
                    第二节-简单工程和工厂方法模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="Redis/Redis.html">
            
                <a href="Redis/Redis.html">
            
                    
                    Redis缓存三大问题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.2.1" data-path="Redis/penetrate.html">
            
                <a href="Redis/penetrate.html">
            
                    
                    001-缓存穿透
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.2" data-path="Redis/breakdown.html">
            
                <a href="Redis/breakdown.html">
            
                    
                    002-缓存击穿
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.3" data-path="Redis/avalanche.html">
            
                <a href="Redis/avalanche.html">
            
                    
                    003-缓存雪崩
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">My Practice Topic</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="LeetCode/">
            
                <a href="LeetCode/">
            
                    
                    LeetCode刷题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1.1" data-path="LeetCode/Sum.html">
            
                <a href="LeetCode/Sum.html">
            
                    
                    001-两数之和
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.2" data-path="LeetCode/Ice.html">
            
                <a href="LeetCode/Ice.html">
            
                    
                    002-雪糕的最大数量
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >三次握手🤝,四次挥手👋得这么讲</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x4E09;&#x6B21;&#x63E1;&#x624B;&#x56DB;&#x6B21;&#x6325;&#x624B;&#x5F97;&#x8FD9;&#x4E48;&#x8BB2;">&#x4E09;&#x6B21;&#x63E1;&#x624B;,&#x56DB;&#x6B21;&#x6325;&#x624B;&#x5F97;&#x8FD9;&#x4E48;&#x8BB2;</h1>
<h2 id="&#x5927;&#x767D;&#x8BDD;&#x4E09;&#x6B21;&#x63E1;&#x624B;"><font color="pink">&#x5927;&#x767D;&#x8BDD;&#x4E09;&#x6B21;&#x63E1;&#x624B;</font></h2>
<p><strong>&#x5728;40&#x5E74;&#x524D;&#x7684;&#x519C;&#x6751;&#x91CC;&#x554A;&#xFF0C;&#x56FA;&#x5B9A;&#x7535;&#x8BDD;&#x6CA1;&#x6709;&#x666E;&#x53CA;&#xFF0C;&#x624B;&#x673A;&#x5C31;&#x66F4;&#x4E0D;&#x7528;&#x8BF4;&#x4E86;&#xFF0C;&#x6240;&#x4EE5;&#x901A;&#x4FE1;&#x9760;&#x4EC0;&#x4E48;&#xFF0C;&#x57FA;&#x672C;&#x5168;&#x9760;&#x543C;&#x554A;&#xFF01;</strong>
<strong>&#x8001;&#x5F20;&#x548C;&#x8001;&#x5F90;&#x662F;&#x4ECE;&#x5C0F;&#x73A9;&#x5230;&#x5927;&#x7684;&#x73A9;&#x4F34;&#xFF0C;&#x8FD9;&#x5929;&#x8001;&#x5F90;&#x4E0B;&#x5730;&#x4E86;&#xFF0C;&#x7ED3;&#x679C;&#x5BB6;&#x91CC;&#x6709;&#x6025;&#x4E8B;&#xFF0C;&#x70ED;&#x5FC3;&#x7684;&#x8001;&#x5F20;&#x8D76;&#x7D27;&#x8DD1;&#x5230;&#x6751;&#x53E3;&#x7684;&#x5730;&#x65C1;&#xFF0C;&#x5F00;&#x59CB;&#x53EB;&#x5524;&#x7740;&#x8001;&#x5F90;</strong></p>
<ul>
<li><strong>&#x8001;&#x5F20;&#xFF1A;&#x8001;&#x5F90;&#x554A;&#xFF01;&#x6211;&#x662F;&#x8001;&#x5F20;&#xFF0C;&#x4F60;&#x80FD;&#x542C;&#x89C1;&#x5417;&#xFF1F;</strong></li>
<li><strong>&#x8001;&#x5F90;&#x4E00;&#x542C;&#xFF0C;&#x662F;&#x8001;&#x5F20;&#x7684;&#x58F0;&#x97F3;&#xFF1A;&#x8001;&#x5F20;&#x8001;&#x5F20;&#xFF0C;&#x6211;&#x662F;&#x8001;&#x5F90;&#xFF0C;&#x6211;&#x80FD;&#x542C;&#x89C1;&#xFF0C;&#x4F60;&#x80FD;&#x542C;&#x89C1;&#x6211;&#x8BF4;&#x8BDD;&#x5417;&#xFF1F;&#xFF1F;&#xFF1F;</strong></li>
<li><strong>&#x8001;&#x5F20;&#x4E00;&#x542C;&#xFF0C;&#x5BF9;&#xFF0C;&#x6CA1;&#x9519;&#xFF0C;&#x662F;&#x8001;&#x5F90;&#xFF1A;&#x8001;&#x5F90;&#x8001;&#x5F90;&#xFF0C;&#x6211;&#x542C;&#x89C1;&#x4E86;&#xFF01;&#x6211;&#x6709;&#x4E00;&#x4EF6;&#x91CD;&#x8981;&#x7684;&#x4E8B;&#x8981;&#x548C;&#x4F60;&#x8BF4;&#x5462;&#xFF01;</strong><blockquote>
<p><strong>&quot;&#x4F60;&#x8001;&#x5A46;&#x5FEB;&#x8981;&#x751F;&#x4E86;&#xFF0C;&#x521A;&#x558A;&#x4E86;&#x6751;&#x53E3;&#x7684;&#x674E;&#x5A76;&#x7A33;&#x5B9A;&#x5C40;&#x9762;&#x5462;&#xFF0C;&#x8D76;&#x7D27;&#x56DE;&#x5BB6;&#x5427;&#xFF01;&quot;</strong>
<strong>&#x8001;&#x5F90;&#x5FEB;&#x9A6C;&#x52A0;&#x97AD;&#x5730;&#x8D76;&#x56DE;&#x5BB6;&#xFF0C;&#x5F90;&#x5AC2;&#x987A;&#x987A;&#x5229;&#x5229;&#x5730;&#x751F;&#x51FA;&#x4E86;&#x4E2A;&#x5E26;&#x628A;&#x7684;&#x5927;&#x80D6;&#x5C0F;&#x5B50;&#xFF0C;&#x547C;&#x547C;~</strong></p>
</blockquote>
</li>
</ul>
<font color="skyblue;;">**&#x63E1;&#x624B;&#x7684;&#x6545;&#x4E8B;&#x5145;&#x6EE1;&#x4E86;&#x5E78;&#x798F;&#x4E0E;&#x7F8E;&#x6EE1;**</font>

<p><img src="IMG/&#x767D;&#x8BDD;&#x4E09;&#x6B21;&#x63E1;&#x624B;1.png" alt=""></p>
<p><img src="IMG/&#x767D;&#x8BDD;&#x4E09;&#x6B21;&#x63E1;&#x624B;2.png" alt=""></p>
<h2 id="&#x5927;&#x767D;&#x8BDD;&#x56DB;&#x6B21;&#x6325;&#x624B;"><font color="pink">&#x5927;&#x767D;&#x8BDD;&#x56DB;&#x6B21;&#x6325;&#x624B;</font></h2>
<p><strong>&#x5047;&#x8BBE;Book&#x4E3B;&#x6709;&#x4E00;&#x4E2A;&#x5973;&#x670B;&#x53CB;&#x543C;&#x2014;&#x2014;&#x2014;&#x53EA;&#x662F;&#x201C;&#x5047;&#x8BBE;&#x201D;,&#x545C;&#x545C;~&#x8FD9;&#x4E0D;&#x4E89;&#x6C14;&#x7684;&#x773C;&#x6CEA;&#x600E;&#x4E48;&#x6B62;&#x4E0D;&#x4F4F;&#x7684;&#x6EF4;&#x5728;&#x952E;&#x76D8;&#x4E0A;&#x252D;&#x252E;&#xFE4F;&#x252D;&#x252E;</strong></p>
<p><strong>&#x7531;&#x4E8E;Book&#x4E3B;&#x4E0A;&#x5B66;797,&#x653E;&#x5B66;&#x809D;&#x4EE3;&#x7801;,&#x5BFC;&#x81F4;&#x6CA1;&#x6709;&#x4EC0;&#x4E48;&#x65F6;&#x95F4;&#x966A;&#x5973;&#x7968;&#xFF0C;&#x5973;&#x7968;&#x5FC3;&#x4E2D;&#x7684;&#x6012;&#x706B;&#x5DF2;&#x7ECF;&#x71C3;&#x70E7;&#x1F525;</strong></p>
<ul>
<li><strong>&#x5973;&#x7968;&#xFF1A;&#x81ED;&#x7537;&#x4EBA;&#xFF0C;&#x4F60;&#x600E;&#x4E48;&#x6700;&#x8FD1;&#x90FD;&#x4E0D;&#x7406;&#x6211;&#xFF0C;&#x6211;&#x770B;&#x4F60;&#x662F;&#x4E0D;&#x7231;&#x6211;&#x4E86;&#xFF0C;&#x5728;&#x5916;&#x9762;&#x6709;&#x4EBA;&#x4E86;&#x662F;&#x5427;&#xFF1F;&#x672C;&#x59D1;&#x5A18;&#x8981;&#x548C;&#x4F60;&#x5206;&#x624B;&#xFF01;</strong></li>
<li><strong>Book&#x4E3B;&#x4E24;&#x773C;&#x53D1;&#x5149;&#x1F441;,&#x6012;&#x706B;&#x653B;&#x5FC3;&#xFF1A;&#x5976;&#x5976;&#x7684;&#xFF0C;&#x5206;&#x624B;&#x5C31;&#x5206;&#x624B;&#xFF01;&#x8C01;&#x6015;&#x8C01;&#x5462;&#x771F;&#x662F;&#x7684;&#xFF01;&#x4F60;&#x81EA;&#x5DF1;&#x4E00;&#x4E2A;&#x4EBA;&#x95F9;&#x4E2A;&#x591F;&#x5427;&#xFF0C;&#x6211;&#x6536;&#x62FE;&#x5B8C;&#x4E1C;&#x897F;&#x5C31;&#x8D70;&#xFF01;</strong></li>
</ul>
<p><strong>Book&#x4E3B;&#x6162;&#x6761;&#x65AF;&#x7406;&#x7684;&#x88C5;&#x8D77;&#x4E86;&#x81EA;&#x5DF1;&#x7684;Curry6</strong></p>
<ul>
<li><strong>&#x81ED;&#x5973;&#x4EBA;&#x6211;&#x6536;&#x62FE;&#x597D;&#x4E86;&#xFF0C;&#x6211;&#x5148;&#x8D70;&#x4E3A;&#x656C;&#xFF01;Goodbye&#xFF0C;&#x4E0D;&#xFF01;&#x518D;&#x4E5F;&#x4E0D;&#x89C1;&#xFF01;</strong></li>
<li><strong>&#x5973;&#x7968;&#xFF1A;&#x6EDA;&#xFF01;&#x6EDA;&#x5F97;&#x8D8A;&#x8FDC;&#x8D8A;&#x597D;&#xFF0C;&#x6211;&#x8FD9;&#x8F88;&#x5B50;&#x90FD;&#x4E0D;&#x60F3;&#x518D;&#x89C1;&#x5230;&#x4F60;&#x4E86;&#xFF01;</strong></li>
</ul>
<font color="skyblue;;">**&#x5BB3;&#xFF0C;&#x6325;&#x624B;&#x7684;&#x6545;&#x4E8B;&#x603B;&#x5145;&#x6EE1;&#x7740;&#x60B2;&#x4F24;&#x4E0E;&#x9057;&#x61BE;&#xFF01;**</font>

<p><img src="IMG/&#x767D;&#x8BDD;&#x56DB;&#x6B21;&#x6325;&#x624B;1.png" alt=""></p>
<p><img src="IMG/&#x767D;&#x8BDD;&#x56DB;&#x6B21;&#x6325;&#x624B;2.png" alt=""> </p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; book.blackdragonlee.com 2021 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x5185;&#x5BB9;&#x66F4;&#x65B0;&#x65F6;&#x95F4;&#xFF1A;
2021-05-26 14:34:46
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="lock.html" class="navigation navigation-prev " aria-label="Previous page: 🤔悲观锁和😀乐观锁">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="RemoveRestrictions.html" class="navigation navigation-next " aria-label="Next page: 解除网盘下载速度限制🚀">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"三次握手🤝,四次挥手👋得这么讲","level":"3.4","depth":1,"next":{"title":"解除网盘下载速度限制🚀","level":"3.5","depth":1,"path":"RemoveRestrictions.md","ref":"RemoveRestrictions.md","articles":[]},"previous":{"title":"🤔悲观锁和😀乐观锁","level":"3.3","depth":1,"path":"lock.md","ref":"lock.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters","back-to-top-button","-lunr","-search","search-pro","splitter","tbfed-pagefooter","github","pageview-count","page-toc-button","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy book.blackdragonlee.com 2021","modify_label":"该内容更新时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"pluginsConfig":{"page-toc-button":{"maxTocDepth":2,"minTocSize":2}},"github":{"url":"https://github.com/Bruse-Lee"},"livereload":{},"splitter":{},"search-pro":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"page-toc-button":{},"back-to-top-button":{},"pageview-count":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"Bruse-Lee","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Dragon GitBook","language":"zh-hans","links":{"sidebar":{"MyTinyTalk":"http://tinytalking.blackdragonlee.com/login"}},"gitbook":"*","description":"记录日常学习的技术文档与生活趣事"},"file":{"path":"ShareHand.md","mtime":"2021-05-26T06:34:46.718Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-07-02T13:59:02.253Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

